@import '~@/dark_var.less';

.tableShow {
  flex: 1;
}
.noValue {
  transform: scale(0.8);
}
.dropdownOverlay {
  :global {
    .ant-dropdown-menu-item {
      margin: 2px;
      border-radius: 3px;
      &.ant-dropdown-menu-item-selected {
        color: var(--font-active) !important;
        background-color: var(--bd-primary) !important;
      }
    }
  }
}
.strategyTable {
  margin-top: 16px;
  :global {
    .ant-table {
      font-size: 12px !important;

      // 实现5px圆角
      background: transparent !important;
      th {
        height: 28px;
        padding: 0 8px !important;
        // background: @disabled-bg !important;
      }
      td {
        height: 28px;
        padding: 0 8px !important;
        // background: @component-background !important;
      }
      // .selected {
      //   td {
      //     background: #21323e !important;
      //   }
      // }
      .ant-table-container {
        border-radius: 5px !important;
      }
      th:first-child {
        border-top-left-radius: 5px !important;
      }
      th:last-child {
        border-top-right-radius: 5px !important;
      }
      tr:last-child td:first-child {
        border-bottom-left-radius: 5px !important;
      }
      tr:last-child td:last-child {
        border-bottom-right-radius: 5px !important;
      }
    }
    .ant-radio-wrapper {
      font-size: 12px !important;
    }
  }

  .icon {
    margin-left: 4px;
    cursor: pointer;
  }
  .input {
    width: 60px !important;
    height: 20px !important;
    padding-right: 3px !important;
    padding-left: 3px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    :global {
      .ant-input-number-handler-wrap {
        display: none;
      }
      .ant-input-number-input {
        height: 20px;
        padding: 0;
        line-height: 20px;
      }
    }
  }
  .input.computed {
    color: var(--success);
  }
  .modelIcon {
    color: var(--font-primary);
    cursor: pointer;
  }
}
